import courseLibrary from './courseLibrary.js'
import specialtyLibrary from './specialtyLibrary.js'
import armsLibrary from './armsLibrary.js'
import topicLibrary from './topicLibrary.js'
import microVideo from './microVideo.js'
import trainingRoute from './trainingRoute'
import articleRoute from './articleRoute'
import educationRoute from './educationRoute'
import searchRoute from './searchRoute'
import politicalHot from './politicalHot'
import dataRoute from './dataRoute'
import examRoute from './examRoute'
import courseRoute from './courseRoute'
const homeRoute = {
	path: '/home',
	name: 'home',
	redirect: '/index',
	meta: { title: '首页', code: 'sy' },
	component: () => import('@/layout/home/index.vue'),
	children: [
		// courseLibrary,
		// specialtyLibrary,
		// armsLibrary,
		// topicLibrary,
		// microVideo,
		{
			path: '/index',
			name: 'index',
			meta: { title: '首页', code: 'sy' },
			component: () => import('@/views/Home/index/index.vue'),
		},
		trainingRoute,
		articleRoute,
		educationRoute,
		// searchRoute,
		// dataRoute,
		politicalHot,
		courseRoute,
		examRoute,
		{
			path: '/help-center',
			name: 'helpCenter',
			meta: { title: '帮助中心', styleTop: true },
			component: () => import('@/views/helpCenter/index')
		}
	],
}
export default homeRoute